<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
include('../config.php');
include('../libraries/CURL.php');
include('../libraries/dao.php');
dbDropDatabase($cfg['db']['dsn']);
dbConnect($cfg['db']['dsn']);
$queries = explode(";", file_get_contents('../sql/create.sql'));
foreach($queries as $query)
{    
    dbQuery($query);
}
?>
